home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / daemons / nfs / nfs-serv.2be / nfs-serv / nfs-server-2.2beta16 / rquotad.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-06  |  1.1 KB  |  49 lines

  1. /*
  2.  * rquotad.h    This program implements a user-space NFS server.
  3.  *
  4.  * Authors:    Mark A. Shand, May 1988
  5.  *        Rick Sladkey, <jrs@world.std.com>
  6.  *        Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
  7.  *
  8.  *        Copyright 1988 Mark A. Shand
  9.  *        This software maybe be used for any purpose provided
  10.  *        the above copyright notice is retained.  It is supplied
  11.  *        as is, with no warranty expressed or implied.
  12.  */
  13.  
  14. #ifndef RQUOTAD_H
  15. #define RQUOTAD_H
  16.  
  17. #include <rpc/rpc.h>
  18. #include <rpc/svc.h>
  19. #include <rpcsvc/nfs_prot.h>
  20. #ifdef HAVE_CONFIG_H
  21. #include "config.h"
  22. #endif
  23. #include "system.h"
  24. #include "getopt.h"
  25. #include "rquota.h"
  26.  
  27. #define VERSION        "ver 0.1 for unfsd"
  28.  
  29. union rquotad_arguments {
  30.     getquota_args        args;
  31. };
  32.  
  33. union rquotad_results {
  34.     getquota_rslt        rslt;
  35. };
  36.  
  37. /*
  38.  * Global Function prototypes.
  39.  */
  40. bool_t    rquota_null_1_svc(struct svc_req *, void *, void *);
  41. bool_t    rquota_getquota_1_svc(struct svc_req *, getquota_args *,
  42.                     getquota_rslt *);
  43. bool_t    rquota_getactivequota_1_svc(struct svc_req *, getquota_args *,
  44.                     getquota_rslt *);
  45. void    rquota_dispatch(struct svc_req *rqstp, SVCXPRT *transp);
  46.  
  47.  
  48. #endif /* RQUOTAD_H */
  49.